package com.goldsign.pay.feign.api.userbase.facade;

import com.goldsign.pay.provider.accountbase.to.CreateAccountReqDTO;
import com.goldsign.pay.provider.accountbase.to.CreateAccountRespDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by xiaojingjing on 2018/5/16.
 */
@FeignClient("pay-accountbase")
public interface FeignAccountBaseApi {
    @RequestMapping(value = "/createAccount", method = RequestMethod.POST)
    public CreateAccountRespDTO createAccount(@RequestBody CreateAccountReqDTO req);
}
